/***
 * R-ZBZB-202109280789713：添加下载图标，增加下载列表页面
 */
import request from "@/utils/request";
export const service = () => {
  return !!JSON.parse(localStorage.$loginInfo).tenantId ? "/event" : "/ttevent";
};
//addWarningOrderCollection
export function getProcessDetail(processOrderId) {
  return request({
    url: service() + "/alarm/processorder/getProcessDetail/" + processOrderId,
    method: "get",
  });
}
//addWarningOrderCollection
export function getTimeAxis(orderId) {
  return request({
    url: service() + "/alarm/order/getTimeAxis/" + orderId,
    method: "get",
  });
}
